package Entities;

import Visitor.IVisitor;

public class Missile implements Drawable{
    private int id;
    private double x;
    private double y;
    private double dy; 
    private final double width = 50;
    private final double height = 20;

    public Missile(double x, double y) {
        this.x = x;
        this.y = y;
        dy = 0;
    }
    

    @Override
    public Drawable accept(IVisitor visitor) {
        return null;
    }

    @Override
    public void addChild(Drawable drawable) {

    }

    @Override
    public void remove(Drawable drawable) {
    }

    @Override
    public Drawable getChild(int pos) {
        return null;
    }

    @Override
    public int getNumElems() {
        return 0;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public void setId(int id) {
        this.id = id;
    }

    @Override
    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    @Override
    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public double getDy() {
        return dy;
    }

    public void setDy(double dy) {
        this.dy = dy;
    }

    public double getWidth() {
        return width;
    }

    public double getHeight() {
        return height;
    }
}
